package sessionBeans;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import javax.ejb.Local;

import entityBeans.Contact;
import entityBeans.ContactGroup;
import entityBeans.Enterprise;

@Local
public interface GestionContactLocal {
	public Contact addContact(Contact c);

	public void delete(int id);

	public List<Contact> searchByName(String name);

	public List<Contact> searchByEmail(String email);

	public Contact searchById(int id);

	public void updateContact(Contact contact, List<String> groups);

	public void updateEnterprise(Enterprise ent);

	public List<Contact> search();

	public List<Contact> searchByGroupID(String idGrp);

	public List<Enterprise> searchEnt();

	public ContactGroup find(String name);

	public Enterprise searchEntById(int id);
}
